<?php


	namespace app\home\validate;


	class GoodsValidate extends Base
	{


		protected $rule = [
			['id', 'require|isInteger', '商品不能为空|商品参数有误'],
		];

		protected $scene = [
			'getOneGoods'      => ['id', ],
			'getGoodsStock'      => ['id', ],
		];


	}